package com.mingxingyi.base.pojo;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class RequestDTO <T> {

    @NotNull(message = "参数不能为空")
    @Valid
    private T data;
}
